package com.lyy.king.auth.api;

import com.lyy.king.common.core.domain.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "learning-system" ,path = "/system")
public interface AuthApi {
    @PostMapping("/checkToken")
    public Result<Boolean> checkToken(@RequestParam("token") String token);
}
